﻿<div>

<h2>JavaScript 代码：</h2>
<textarea name="dp-syntaxhighlighter" class="brush: js; highlight: [5]" >
    
    $(function () {
        $("#win1").dialog({
            title: "test dialog", top: 120, left: 160, width: 250, height: 150,
            maximizable: true,
            autoRestore: true
        });
    });

</textarea>
<h2>HTML 代码：</h2>
<textarea name="dp-syntaxhighlighter" class="brush: html; highlight: []" >
    
    <div id="win1" style="padding: 10px;">您可以双击此窗口的标题试试</div>

</textarea>


</div>